Exp=f
@p1=
@c1=
@p2=
@c2=
@va=temp_a
@vb=temp_b
@vc=temp_c
@vd=temp_d
@end
                                        
//:compare
//ĿģȽĴС൱?a>b,a<b,a=b
//p1ҪȽϵĵһ
//p2ҪȽϵĵڶ
//cǴڣСڻڣ">","<","="
//ؽ
//0ʾʽΪ٣1ʾʽΪ
//LastError=0ȷLastErrorΪμֲ
 public bool compare(long p1, long p2, string exp)
{
	//p1,p2ΪΪ
	if((p1>0 && p2>0) || (p1<0 && p2<0))
	{
		//Ϊ
		p1=System.Math.Abs(p1);p2=System.Math.Abs(p2);
	int result;
	short a,b,c,d;//ֲ
	//p1ֲĸֽڡ
	a=(byte)p1;b=(byte)(p1>>8);c=(byte)(p1>>16);d=(byte)(p1>>24);
	//ⲽa,b,dĵڲ,
	//@fļе@pλдмʽ
	
	{
		result=CalculateEx_3("@f.lll",@p, 16, ref a, ref b, ref c, ref d,KeyPath,2000) ; 
	}
	if (result!=0)
	{
		LastError=result;
		 return false;
	}
	long temp_a,temp_b,temp_c,temp_d;//ֲ
	//ĸֽٺϲһ
	temp_a=(long)a;temp_b=(long)b;temp_c=(long)c;temp_d=(long)d;
	@1
	p1=(temp_a)|(temp_b<<8)|(temp_c<<16)|(temp_d<<24);
	}
	if(exp==">")
	{
		return p1>p2;
	}
	if(exp=="<")
	{
		return p1<p2;
	}
	if(exp=="=")
	{
		return p1==p2;
	}
	LastError=-3;//ʾc

	return false;
}